const express = require('express')
const app = express()
const path = require("path")
const port = 8001

app.use(express.static(path.resolve(__dirname, './dist')))
app.get('/', (req, res) => res.send('Hello World!'))
app.listen(port, () => console.log(`server listening on http://localhost:${port} port!`))